package exe;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class ByteSum {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in) ;
        System. out. println("输入数字:");
        int x=in.nextInt();
        int y=x;//保留x的原值
        int a=0;//倒转之后的值
        while (y!=0){
            int b=y%10;
            a=a*10+b;
            y=y/10;
        }
        System. out. println("倒转后的数字和为: "+a) ;
        a=a+1024;
        System. out. println(a) ;
        //System.out.println("x="+x+",y="+y);

    }
}
